﻿using RabbitMQ_Service.MessageTypes;
using System;
using System.Collections.Generic;
using System.Threading;
using Utility.Global.DataTypes;
using Utility.RabbitMQ_Service;
using Utility.RabbitMQ_Service.Implementations;
using Utility.RabbitMQ_Service.MessageTypes;

namespace Manufacturing_Planning_System_Server
{
    class Program
    {
        static void Main(string[] args)
        {
            // Starte den StartAndStop-Listener
            StartAndStopListener startAndStopListener = StartAndStopListener.NewStartAndStopListener();
            Thread startAndStopListenerThread = new Thread(new ThreadStart(startAndStopListener.StartListener));
            startAndStopListenerThread.Start();

            // Starte den RPC-Listener

        }
    }
}
